import cPickle,sys

db=cPickle.load(file('eve.db','rb'));

if len(sys.argv)!=3:
    print 'Usage: %s <start> <end>'%sys.argv[0]
    sys.exit(-1)

s1=db.SolarName[sys.argv[1]]
s2=db.SolarName[sys.argv[2]]

for n,x in enumerate(s1.getPath(s2)):
    print '%2d) %-20s [%d]'%(n+1,x.name,x.id)
